-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest LBP design implementation for metri testing #1
Conversation
v1.7.0
…erFrom to factory
Implemented the latest LBP design. Next step basic test coverage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I would perhaps request the following points (this can in parallel or before test deployment)
- I think we should explicitly check that the avatar sending their 48CRC
hub.isHuman
to exclude groups to partake - Factory currently has
backerOf
, but can we also store the reverse mappingbacker -> CirclesBacking
and a func in Factory that checks in CirclesBacking.sol whether the callbackcreateLBP
has been completed (and the 1yr lock is still active) (effectivelybalancerPoolTokensUnlockTimestamp > 0 and balancerPoolTokensUnlockTimestamp < block.timestamp
this way I can in the supergroup call on the CirclesBackingFactory to ask if the address I want to trust has an actively backed and locked LBP present
amazing work 🚀
I've resolved review comments. Starting tests. |
Looks great to me ! |
Refactored the PoC to get Factory template.
Next step would be to implement actual factory logic.